package com.yfp.machine.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.io.Serializable;

@Schema(title = "获取设备点位类型：请求参数")
public class SearchBasicInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(title = "搜索关键字")
    private String word;

    @Schema(title = "当前页码")
    @NotNull(message = "当前页码不能为空")
    private Integer pageIndex;
    @Schema(title = "每页条数")
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;


    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
